const Main = require('../controllers/main');
var express = require('express');
var router = express.Router();

//首页推荐
router.post('/HomeInit',Main.HomeInit);
//总排行
router.post('/Rank',Main.Rank);
//发布
router.post('/Fabu',Main.Fabu);
//我的发布
router.post('/myFabu',Main.myFabu);
//删除我的发布
router.post('/DelmyFabu',Main.DelmyFabu);
//发现
router.post('/Find',Main.Find);
//详情
router.post('/Msg',Main.Msg);
//图片上传
router.post('/uploadpic',Main.uploadpic);
//评论加载
router.post('/Com',Main.Com);
//点赞
router.post('/Zan',Main.Zan);
//搜索
router.post('/Search',Main.Search);
module.exports = router;